/**
 * PlanDTO.java
 * Nov 15, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package DTO;

/**
 * @author Lubu
 * @version 1.0
 */
public class PlanDTO {
	private MenuDTO menu;
	private DishDTO dish;
	private int mealOrder;

	public PlanDTO() {
		super();
		this.menu = new MenuDTO();
		this.dish = new DishDTO();
		this.mealOrder = 0;
	}

	public PlanDTO(MenuDTO menu, DishDTO dish, int mealOrder) {
		super();
		this.menu = menu;
		this.dish = dish;
		this.mealOrder = mealOrder;
	}

	/**
	 * Get value of the menu
	 * 
	 * @return the menu
	 */
	public MenuDTO getMenu() {
		return menu;
	}

	/**
	 * Set value for the menu
	 * 
	 * @param menu
	 *            the menu to set
	 */
	public void setMenu(MenuDTO menu) {
		this.menu = menu;
	}

	/**
	 * Get value of the dish
	 * 
	 * @return the dish
	 */
	public DishDTO getDish() {
		return dish;
	}

	/**
	 * Set value for the dish
	 * 
	 * @param dish
	 *            the dish to set
	 */
	public void setDish(DishDTO dish) {
		this.dish = dish;
	}

	/**
	 * Get value of the mealOrder
	 * 
	 * @return the mealOrder
	 */
	public int getMealOrder() {
		return mealOrder;
	}

	/**
	 * Set value for the mealOrder
	 * 
	 * @param mealOrder
	 *            the mealOrder to set
	 */
	public void setMealOrder(int mealOrder) {
		this.mealOrder = mealOrder;
	}
}
